$(document).ready(function(){
    jQuery('#edit-template').change(function(){
        var selectTemplate = jQuery('#edit-template').val();
        var currentUrl = jQuery('#core101-promotion-notify-form').attr('action');
        
        var newUrl = currentUrl.replace("/promotion_notification", "/pet/"+selectTemplate);
        jQuery('#core101-promotion-notify-form').attr('action', newUrl);
    });
});